<extend name="Public/baseConf"/>  
<block name="breadcrumb"> 
	<div class="row wrapper border-bottom white-bg page-heading">
	    <div class="col-lg-4">
	        <h2>预约信息</h2>
	        <ol class="breadcrumb">
	            <li><a href="{:U('index/index')}">首页</a></li>
	            <li class="active">
	                <strong>预约信息</strong>
	            </li>
	        </ol>
	    </div>
	</div> 
</block>
<block name="body">
	<div class="row">
            <div class="col-lg-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>预约信息</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
		            <input type="text" class="form-control input-sm m-b-xs" id="filter" placeholder="快速检索">

                    <table class="footable table table-stripped" data-page-size="8" data-filter=#filter>
                        <thead>
                        <tr>
							<th class="row-selected row-selected">
							<label><input type="checkbox" class="check-all" /><span class="lbl"></span></label></th>
		                    <th class="center">ID</th>
		                    <th class="center">留言</th>
		                    <th class="center">手机</th>
		                    <th class="center">座机</th>
		                    <th class="center">留言时间</th>
		                    <th class="center">状态</th>
		                    <th class="center">预约时间</th>
		                    <th class="center">预约类型</th>
		                    <th class="center">操作</th>
							<th></th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr class="gradeX">
							<notempty name="_list">
							<volist name="_list" id="vo">
							<tr>
					            <td class="center">
									<label>
										<input type="checkbox" class="ids row-selected" name="id[]" value="{$vo.id}"/>
										<span class="lbl"></span>
									</label>
								</td>
								<td>{$vo.id}</td>
		                        <td>{$vo.message}</td>
		                        <td>{$vo.phone}</td>
		                        <td>{$vo.landline}</td>
		                        <td>{$vo.callbactime}</td>
		                        <td>{$vo.status}</td>
		                        <td>{$vo.appointtime}</td>
		                        <td>{$vo.type}</td>
		                        <td class="center">
		                        	<a title="编辑" href="{:U('edit?id='.$vo['id'])}"><i class="text-navy fa fa-pencil bigger-130"></i></a>
		                        	<a title="已回电" class="ajax-get" href="{:U('changeStatusSingle?method=callback&id='.$vo['id'])}"><i class="text-navy fa fa-flag bigger-130"></i></a>
		                        	<a title="未回电" class="ajax-get" href="{:U('changeStatusSingle?method=nocallback&id='.$vo['id'])}"><i class="text-danger fa fa-flag bigger-130"></i></a>
					                <a title="删除" class="ajax-get" href="{:U('delete?id='.$vo['id'])}"><i class="text-danger fa fa-trash-o bigger-130"></i></a>
		                        </td>
					            <td></td>
							</tr>
							</volist>
							<else/> 
							<td colspan="11" class="text-center"> aOh! 暂时还没有内容! </td>
							</notempty>
                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="11">
                                <ul class="pagination pull-right"></ul>
                            </td>
                        </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>
    </div>
</block>  
<block name="script">
	<!-- FooTable -->
    <script src="__INSPINIA__/js/plugins/footable/footable.all.min.js"></script>
	<script>
	   $('.footable').footable();
    </script>
</block>